package cn.bfay.lion.jingdong.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 商品价格信息.
 *
 * @author wangjiannan
 */
@FeignClient(url = "https://pe.3.cn", name = "jdProductPriceClient", configuration = JdProductClientConfiguration.class)
public interface JdProductPriceClient {

    /**
     * 价格.
     *
     * @param skuids skuids,多个用逗号分隔
     * @return string
     */
    @GetMapping(value = "/prices/mgets")
    String getContent(@RequestParam(name = "skuids") String skuids);
}